<?php


declare (strict_types=1);

namespace app\common\enum;

/**
 * 平台设置枚举类
 * Class Setting
 * @package app\common\enum
 */
class Setting extends EnumBasics
{

    // 短信通知
    const SMS = 'sms';

    // 上传设置
    const STORAGE = 'storage';

    // 账户注册设置
    const REGISTER = 'register';

    // h5首页设置
    const H5HOME = 'h5home';

    // 考试设置
    const EXAMINATION = 'examination';
    const WEBBASIC = 'web_basic';
    const WEBSEO = 'web_seo';

    /**
     * 获取订单类型值
     * @return array
     */
    public static function data(): array
    {
        return [

            self::SMS => [
                'value' => self::SMS,
                'describe' => '短信通知',
            ],
            self::STORAGE => [
                'value' => self::STORAGE,
                'describe' => '上传设置',
            ],
            self::REGISTER => [
                'value' => self::REGISTER,
                'describe' => '账户注册设置',
            ],
            self::H5HOME => [
                'value' => self::H5HOME,
                'describe' => 'h5首页设置',
            ],
            self::EXAMINATION => [
                'value' => self::EXAMINATION,
                'describe' => '考试设置',
            ],
            self::WEBBASIC => [
                'value' => self::WEBBASIC,
                'describe' => '官网基础设置',
            ],
            self::WEBSEO => [
                'value' => self::WEBSEO,
                'describe' => '官网SEO设置',
            ],
        ];
    }
}
